package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.StudentEntity;
import java.util.List;

public interface StudentService extends IService<StudentEntity> {
    boolean addStudent(StudentEntity studentEntity);

    boolean deleteStudent(Integer studentId);

    boolean updateStudent(StudentEntity studentEntity);

    StudentEntity getStudentById(Integer studentId);

    List<StudentEntity> getAllStudents();

    StudentEntity login(String username, String password);
}
